package com.yy.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 系统账号信息Vo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "系统用户登录VO")
public class AdminUserLoginVO implements Serializable{
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "权限:1全部权限 2部分权限")
    private Integer permissions;
    @ApiModelProperty(value = "JWT令牌")
    private String token;
}
